Method
Namespace: Ignis
Declared in: Ignis.IComponentCollection<T>
Iterates over each 'entity ID'-'component' pair using the supplied callback. The return value will be saved as the new component value. If your callback is a closure (which means it uses local variables or 'this'), consider using Process<TState>(Action<int, T, TState>, TState) or ForEach<TState>(Action<int, T, TState>, TState) instead to reduce heap memory allocations.
public void Process(
Func<int, T, T> action
)
action
Callback to be called on each pair